/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package generator.collections;

import generator.statements.Transport;

/**
 * Transport SQL table mapper.
 *
 * @author Marek Snopkowski <snpy@snpy.info>
 * @version 10.04.2008
 */
final public class TransportTable extends AbstractTable<Transport>
{
    protected static TransportTable instance;
    
    private static int id = 1;
    
    public static int autoincrement()
    {
        return id++;
    }
    
    private TransportTable() {}
    
    public static TransportTable getInstance()
    {
        if (null == instance)
            instance = new TransportTable();
        
        return instance;
    }

    @Override
    public String getTableName()
    {
        return "transport";
    }
}
